C (114/254)

From:j.adelman
Date:07 Apr 00 at 13:52:26
Subject:RE: Passing arguments to a new process

IIRC, you cannot. You can use Messages to transfer information between the processes, or a global, protected by semaphore.

On Fri, 7 Apr 2000 11:58:45 +0100 (BST), andrewmarkwell@ukonline.co.uk wrote:
> Hi,
>
> Is it possible to pass arguments when creating a new process? For
> example, a function like this:
>
> void hello(int x)
> {
> // blah
> / blah
> }
>
> How would I give a value to 'x' using CreateNewProc() or CreateProc()
> ?
>
>
> Andrew Markwell
>
>
> ---------------------------------------------------------------------
> ---
> Get a NextCard Visa, in 30 seconds!
> 1. Fill in the brief application
> 2. Receive approval decision within 30 seconds
> 3. Get rates as low as 2.9% Intro or 9.9% Fixed APR
> Apply NOW!
> http://click.egroups.com/1/2646/1/_/451227/_/955106166/
> ---------------------------------------------------------------------
> ---
>
>

------------------------------------------------------------------------
PERFORM CPR ON YOUR APR!
Get a NextCard Visa, in 30 seconds! Get rates as low as
0.0% Intro or 9.9% Fixed APR and no hidden fees.
Apply NOW!
http://click.egroups.com/1/2121/1/_/451227/_/955113036/
------------------------------------------------------------------------